package com.mostromas.ess.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mostromas.ess.entities.ProductColor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductColorMapper extends BaseMapper<ProductColor> {
    /**
     * 根据款式ID查出对应的颜色
     * @param productId
     * @return
     */
    List<ProductColor> selectByProductId(@Param("productId")String productId);
}
